import request from '../../utils/request';
import qs from 'qs';

export function getPageCustomerPayRecordPage(data) {
  return request(`/api/finance/customerPayRecordPage?${qs.stringify(data)}`);
}

export function getInOutCurrentDayRecord(data) {
  return request(`/api/finance/inOutCurrentDayRecord?${qs.stringify(data)}`);
}

export function getInOutDayRecord(data) {
  return request(`/api/finance/inOutDayRecord?${qs.stringify(data)}`);
}

export function getServiceDayMoneyReport(data) {
  return request(`/api/finance/serviceDayMoneyReport?${qs.stringify(data)}`);
}
export function getDayMoneyCharts(data) {
  return request(`/api/finance/dayMoneyChart?${qs.stringify(data)}`);
}
export function getMonthMoneyCharts(data) {
  return request(`/api/finance/monthMoneyChart`);
}
export function getDashBoard(data) {
  return request(`/api/finance/dashboard`);
}
